import React, { FC } from 'react';
import { Form, Input } from 'antd';

const DemoModal: FC = () => {
  const [form] = Form.useForm();
  return (
    <Form form={form}>
      <Form.Item name="name">
        <Input />
      </Form.Item>
    </Form>
  );
};

export default DemoModal;
